//
//  MFWSharePlatformPannel.h
//  TravelGuideMdd
//
//  Created by BigPolarBear on 14-5-20.
//  Copyright (c) 2014年 mafengwo.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MFWShare.h"

@interface MFWSharePlatformPannel : NSObject

+(instancetype)pannel;

// 替换默认第三方图标
+(void)setType:(MFWShareType)type icon:(UIImage*)icon;
// 获取第三方图标
+(UIImage*)iconOfType:(MFWShareType)type;

-(void)shareText:(NSString*)text
           image:(UIImage*)image
        imageUrl:(NSString*)imageUrl
             url:(NSString*)url
           title:(NSString*)title
          result:(void(^)(MFWShareType type,MFWShareResultState state, NSString* errorMsg))result;

-(void)shareImageTypeWithText:(NSString*)text
                        image:(UIImage*)image
                     imageUrl:(NSString*)imageUrl
                          url:(NSString*)url
                        title:(NSString*)title
                       result:(void(^)(MFWShareType type,MFWShareResultState state, NSString* errorMsg))result;

@end
